﻿using System;
using System.Collections.Generic;

namespace LH.Model.PU
{
    public class YiJingPurchaseOrder  //采购订单
    {

        public string POID { get; set; }
        public string cPOID { get; set; }
        public string dPODate { get; set; }
        public string cBusType { get; set; }
        public string cPTCode { get; set; }
        public string cVenCode { get; set; }
        public string cDepCode { get; set; }
        public string cDepName { get; set; }
        public string cPersonCode { get; set; }
        public string cPersonName { get; set; }
        public string cMaker { get; set; }
        public string cVerifier { get; set; }
        public string cMemo { get; set; }
        public string cAccount { get; set; }
        public List<Body> ItemList { get; set; }


        public class Body
        {
            public string ID { get; set; }
            public string ivouchrowno { get; set; }
            public string cInvCode { get; set; }
            public string cFree1 { get; set; }
            public string iQuantity { get; set; }
            public string dArriveDate { get; set; }
            public string iArrQTY { get; set; }
            public string iNArrQTY { get; set; }
            public string cWhCode { get; set; }
           


        }
    }
    public class YiJingPOQuery
    {
        public string cAccount { get; set; }
        public string cPOID { get; set; }
        public string cVenCode { get; set; }
        //采购类型
        public string cPtName { get; set; }

        public string cBusType { get; set; }
        //币种
        public string cExch_Name { get; set; }

    }


    public class YiJingPO_OA  //OA做发票用采购订单
    {

        public long POID { get; set; }
        public string cPOID { get; set; }
        public DateTime dPODate { get; set; }
        public string cBusType { get; set; }
        public string cExch_Name { get; set; }
        public string cPTCode { get; set; }
        public string cVenCode { get; set; }
        public string cVenName { get; set; }
        public string cDepCode { get; set; }
        public string cDepName { get; set; }
        public string cPersonCode { get; set; }
        public string cPersonName { get; set; }
        public string cMaker { get; set; }
        public string cVerifier { get; set; }
        public string cMemo { get; set; }
        public string cAccount { get; set; }
        public long iPosid { get; set; }
        public int ivouchrowno { get; set; }
        public string cInvCode { get; set; }
        public string cFree1 { get; set; }
        public string cInvName { get; set; }
        public string cComUnitName { get; set; }
        public Single iQuantity { get; set; }
        public Single iTaxRate { get; set; }
        public Single iInvQTY { get; set; }
        public Single iNInvQTY { get; set; }
        public Single iUnitPrice { get; set; }
        public Single iTaxPrice { get; set; }
        public Single iMoney { get; set; }
        public Single iTax { get; set; }
        public Single iSum { get; set; }
        public Single iNatUnitPrice { get; set; }
        public Single iNatMoney { get; set; }
        public Single iNatTax { get; set; }
        public Single iNatSum { get; set; }
        public string cItemCode { get; set; }
        public string cItem_class { get; set; }
       
        //public decimal iInvMoney { get; set; }

    }


    public class YiJingRd01_OA  //OA做发票用采购订单
    {

        public long ID { get; set; }
        public string cCode { get; set; }
        public DateTime dDate { get; set; }
        public string cBusType { get; set; }
        public string cExch_Name { get; set; }
        public string cPTCode { get; set; }
        public string cVenCode { get; set; }
        public string cVenName { get; set; }
        public string cDepCode { get; set; }
        public string cDepName { get; set; }
        public string cPersonCode { get; set; }
        public string cPersonName { get; set; }
        public string cMaker { get; set; }
        public string cVerifier { get; set; }
        public string cMemo { get; set; }
        public string cAccount { get; set; }
        public long iRdsid { get; set; }
        public long iPosid { get; set; }
        public int ivouchrowno { get; set; }
        public string cInvCode { get; set; }
        public string cFree1 { get; set; }
        public string cInvName { get; set; }
        public string cComUnitName { get; set; }
        public Single iQuantity { get; set; }
        public Single iTaxRate { get; set; }
        public Single iInvQTY { get; set; }
        public Single iNInvQTY { get; set; }
        public Single iUnitPrice { get; set; }
        public Single iTaxPrice { get; set; }
        public Single iMoney { get; set; }
        public Single iTax { get; set; }
        public Single iSum { get; set; }
        public Single iNatUnitPrice { get; set; }
        public Single iNatMoney { get; set; }
        public Single iNatTax { get; set; }
        public Single iNatSum { get; set; }
        public Single iInvMoney { get; set; }
        public string cItemCode { get; set; }
        public string cItem_class { get; set; }
        public string cPoid { get; set; }
    }
}
